package com;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import tk.mybatis.spring.annotation.MapperScan;

/**
 * Description: <br/>
 * date: 2019-05-31 18:47<br/>
 *
 * @author ChenXh<br />
 */
//项目的主入口
@SpringBootApplication
//扫描操作数据库mapper层
@MapperScan({"com.cxh.base","com.cxh.dao"})
//开启支持事物
@EnableTransactionManagement
public class APP {
    public static void main(String[] args) {
        SpringApplication.run(APP.class,args);
    }
}
